package cn.dm.service;

import cn.dm.pojo.DmArea;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface DmAreaService {

    /**
     *  根据id查询城市对象
     * @param id
     * @return
     * @throws Exception
     */
    DmArea getDmAreaById(@RequestParam("id")Long id)throws Exception;


    List<DmArea> getDmAreaListByMap(@RequestBody Map<String, Object> param)throws Exception;

    Integer getDmAreaCountByMap(@RequestBody Map<String, Object> param)throws Exception;

    Integer qdtxAddDmArea(@RequestBody DmArea dmArea)throws Exception;

    Integer qdtxModifyDmArea(@RequestBody DmArea dmArea)throws Exception;
}
